import { request } from '@/common/request.js'

// 公共配置
export function nameGetConfig(data) {
  return request({
    url: `zp_common_v1/nameGetConfig`,
    method: 'post',
	reveal: true,
	data: data
  })
}
// 获取需求区域
export function getAreasList(data) {
  return request({
    url: `/zp_common_v1/getAreasList`,
    method: 'post',
	data,
  })
}
// 获取需求经验
export function getAgeList(data) {
  return request({
    url: `/zp_common_v1/getAgeList`,
    method: 'post',
	data,
  })
}
// 获取薪资范围
export function getSalaryList(data) {
  return request({
    url: `/zp_common_v1/getSalaryList`,
    method: 'post',
	data,
  })
}
// 获取福利待遇
export function getWelfareList(data) {
  return request({
    url: `/zp_common_v1/getWelfareList`,
    method: 'post',
	data,
  })
}
// 获取学历要求
export function getDrvingList(data) {
  return request({
    url: `/zp_common_v1/getDrvingList`,
    method: 'post',
	data,
  })
}
//获取需求类别
export function getPidPositionTypeList(data) {
  return request({
    url: `zp_common_v1/getPidPositionTypeList`,
    method: 'post',
	data,
  })
}
//获取轮播
export function getBannerList(data) {
  return request({
    url: `zp_common_v1/getBannerList`,
    method: 'post',
	data,
  })
}
//获取需求列表
export function getPosotionList(data) {
  return request({
    url: `zp_posotion_v1/getPosotionList`,
    method: 'post',
	data,
  })
}
//根据id查询需求详情
export function getPositionInfo(data) {
  return request({
    url: `zp_posotion_v1/getPositionInfo`,
    method: 'post',
	data,
  })
}
//根据id查询雇主详情
export function getCompanyInfo(data) {
  return request({
    url: `zp_company_v1/getCompanyInfo`,
    method: 'post',
	data,
  })
}
//拨打电话
export function memberGetPosotionTel(data) {
  return request({
    url: `zp_posotion_v1/memberGetPosotionTel`,
    method: 'post',
	data,
  })
}
//收藏需求
export function memberCollectPosition(data) {
  return request({
    url: `zp_member_v1/memberCollectPosition`,
    method: 'post',
	data,
  })
}
//查询接单列表
export function getResumeList(data) {
  return request({
    url: `zp_resume_v1/getResumeList`,
    method: 'post',
	data,
  })
}
//查询接单详情
export function getResumeInfo(data) {
  return request({
    url: `zp_resume_v1/getResumeInfo`,
    method: 'post',
	data,
  })
}
//查询案例展示
export function getResumeExperienceList(data) {
  return request({
    url: `zp_resume_v1/getResumeExperienceList`,
    method: 'post',
	data,
  })
}
//查询教育经历
export function getResumeEducateList(data) {
  return request({
    url: `zp_resume_v1/getResumeEducateList`,
    method: 'post',
	data,
  })
}
//拨打电话
export function memberGetResumeTel(data) {
  return request({
    url: `zp_resume_v1/memberGetResumeTel`,
    method: 'post',
	data,
  })
}
//地图查看需求
export function getCity(data) {
  return request({
    url: `zp_posotion_v1/getCity`,
    method: 'post',
	data,
  })
}
//根据id查看需求
export function idGetPosotion(data) {
  return request({
    url: `zp_posotion_v1/idGetPosotion`,
    method: 'post',
	data,
  })
}
 // 生成需求二维码
 export function positionEwm(data) {
   return request({
     url: `zp_posotion_v1/positionEwm`,
     method: 'post',
 	data,
   })
 }
 // app热更新
 export function renew(data) {
   return request({
     url: `open_interface/renew`,
     method: 'post',
 	data,
   })
 }
 // app绑定cid
 export function memberBdCid(data) {
   return request({
     url: `zp_push/memberBdCid`,
     method: 'post',
 	data,
   })
 }
 // 看广告加次数
 export function wxForwardGetAward(data) {
   return request({
     url: `zp_member_v1/wxForwardGetAward`,
     method: 'post',
 	data,
   })
 }
